package io.renren.modules.jxgkteacher.service.Impl;

import io.renren.modules.jxgkphone.tempEntity.TeacherAttendanceStateEntity;
import io.renren.modules.jxgkphone.tempEntity.TempUpdateAttend;
import io.renren.modules.jxgkteacher.dao.TeacherClassAttendanceMapper;
import io.renren.modules.jxgkteacher.dao.TeacherCourseMapper;
import io.renren.modules.jxgkteacher.entity.StudentInfoEntity;
import io.renren.modules.jxgkteacher.service.TeacherClassAttendanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeacherClassAttendanceServiceImpl implements TeacherClassAttendanceService {
    @Autowired
    TeacherClassAttendanceMapper teacherClassAttendanceMapper;

    public List<StudentInfoEntity> studentList(String student_class_name){
       return teacherClassAttendanceMapper.studentList(student_class_name);
   }
    public List<String> modifyState(String courseId){
        return teacherClassAttendanceMapper.modifyState(courseId);
    }
   public void InsertState(TeacherAttendanceStateEntity teacherAttendanceStateEntity){
        teacherClassAttendanceMapper.InsertState(teacherAttendanceStateEntity);
    }
   public void deleteClassState(String courseId){
        teacherClassAttendanceMapper.deleteClassState(courseId);
    }
}
